<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>sylpheed</Name>
        <Homepage>http://sylpheed.sraoss.jp/en/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <Icon>sylpheed-128x128</Icon>
        <IsA>app:gui</IsA>
        <Summary>A lightweight email client and newsreader</Summary>
        <Description>Sylpheed is a simple and lightweight but featureful and easy-to-use e-mail client.</Description>
        <Archive sha1sum="178424466901572b99fbf8e3bd55d6347f727f3c" type="tarbz2">http://sylpheed.sraoss.jp/sylpheed/v3.7/sylpheed-3.7.0.tar.bz2</Archive>
        <BuildDependencies>
            
            <Dependency>atk-devel</Dependency>
            <Dependency>gtk2-devel</Dependency>
            <Dependency>gpgme-devel</Dependency>
            <Dependency>pango-devel</Dependency>
            <Dependency>cairo-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>enchant-devel</Dependency>
            <Dependency>compface-devel</Dependency>
            <Dependency>gtkspell-devel</Dependency>
            <Dependency>harfbuzz-devel</Dependency>
            <Dependency>openldap-client</Dependency>
            <Dependency>fontconfig-devel</Dependency>
            <Dependency>gdk-pixbuf-devel</Dependency>
            <Dependency>shared-mime-info</Dependency>
            <Dependency>libgpg-error-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">sendmail_accelerator.patch</Patch>

            <!-- Use xdg-open for every mime type instead of parsing them and using mailcap file (pb#17534) -->
            <Patch level="1">add-xdg-support.patch</Patch>
<!--             https://sylpheed.sraoss.jp/redmine/issues/306 -->
            <Patch level="1">v2-0001-libsylph-ssl.c-Support-SNI-some-servers-imap.gmai.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>sylpheed-docs</Name>
        <IsA>data:doc</IsA>
        <Summary>Documentation files for sylpheed</Summary>
        <RuntimeDependencies>
            <Dependency release="current">sylpheed</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="doc">/usr/share/doc/sylpheed</Path>
            <Path fileType="doc">/usr/share/doc/sylpheed/html</Path>
        </Files>
    </Package>

    <Package>
        <Name>sylpheed</Name>
        <RuntimeDependencies>
            <Dependency>atk</Dependency>
            <Dependency>dbus</Dependency>
            <Dependency>gtk2</Dependency>
            <Dependency>pango</Dependency>
            <Dependency>cairo</Dependency>
            <Dependency>glib2</Dependency>
            <Dependency>gpgme</Dependency>
            <Dependency>enchant</Dependency>
            <Dependency>openssl</Dependency>
            <Dependency>freetype</Dependency>
            <Dependency>compface</Dependency>
            <Dependency>gtkspell</Dependency>
            <Dependency>harfbuzz</Dependency>
            <Dependency>dbus-glib</Dependency>
            <Dependency>fontconfig</Dependency>
            <Dependency>gdk-pixbuf</Dependency>
            <Dependency>openldap-client</Dependency>
            <Dependency>shared-mime-info</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="localedata">/usr/share/locale</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/pixmaps</Path>
            <Path fileType="data">/usr/share/applications</Path>
        </Files>
    </Package>

    <Package>
        <Name>sylpheed-devel</Name>
        <IsA>library</IsA>
        <Summary>Development files for sylpheed</Summary>
        <RuntimeDependencies>
            <Dependency release="current">sylpheed</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include/sylpheed</Path>
        </Files>
    </Package>

    <History>
        <Update release="6">
            <Date>2021-02-06</Date>
            <Version>3.7.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@pisilinux.org</Email>
        </Update>  
        <Update release="5">
            <Date>2017-01-28</Date>
            <Version>3.5.1</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>        
        <Update release="3">
            <Date>2015-02-13</Date>
            <Version>3.4.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
	<Update release="2">
            <Date>2014-01-13</Date>
            <Version>3.3.0</Version>
            <Comment>Version Bump</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2012-09-03</Date>
            <Version>3.2.0</Version>
            <Comment>First release</Comment>
            <Name>Osman Erkan</Name>
            <Email>osman.erkan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
